const app = require('express')
const http = require('http').createServer(app)

app.get('/', function (req, res) {
  res.send('hello world')
})

http.listen(3000, function () {
  console.log('server is running on: 3000')
})
